﻿using FirstSW.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xarial.XCad.Base.Attributes;
using Xarial.XCad.UI.Commands.Attributes;
using Xarial.XCad.UI.Commands.Enums;

namespace FirstSW
{
    [Title("swTools")]
    public enum SwCommand
    {
        [Title("创建的这个")]
        [Description("text first!")]
        [Icon(typeof(Resource),nameof(Resource.edit))]
        [CommandItemInfo(true, true, WorkspaceTypes_e.AllDocuments, true, RibbonTabTextDisplay_e.TextBelow)]
        Com1,
        [Title("下面的面板")]
        [Description("text second")]
        [Icon(typeof(Resource2),nameof(Resource2.edit2))]
        [CommandItemInfo(true, true, WorkspaceTypes_e.AllDocuments, true, RibbonTabTextDisplay_e.TextHorizontal)]
        AddModelViewTap,
        [Title("添加的功能")]
        [Description("text first!")]
        [Icon(typeof(Resource), nameof(Resource.edit))]
        [CommandItemInfo(true,true,WorkspaceTypes_e.AllDocuments,true,RibbonTabTextDisplay_e.TextHorizontal)] 
        AddFeatureManagerTap
    }
}
